Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added a decrypt and save function #2314

Conversation

pfeux
Copy link
Contributor

@pfeux pfeux commented Aug 23, 2024

Fixes # .

Changes proposed in this pull request

  • added newMagix function to be used in decryptAndSaveFile function. This newMagix function decrypts the stream rather than buffer
  • added a new decryptAndSaveFile function. This function downloads the encrypted file and decrypts as a stream rather than Buffer.
  • upgrades puppeteer to latest version.

To test (it takes a while): npm install github:<username>/wppconnect#<branch>

@pfeux
Copy link
Contributor Author

pfeux commented Oct 25, 2024

Anyone even seeing this?

@gekkedev
Copy link
Contributor

gekkedev commented Oct 28, 2024

Is the Puppeteer upgrade necessary for this feature? Might cause merge conflicts.

Anyone even seeing this?

@icleitoncosta

@pfeux
Copy link
Contributor Author

pfeux commented Nov 3, 2024

Is the Puppeteer upgrade necessary for this feature? Might cause merge conflicts.

Anyone even seeing this?

@icleitoncosta

removed the puppeteer upgrade

@pfeux
Copy link
Contributor Author

pfeux commented Jan 31, 2025

anyone merging this?

@icleitoncosta
Copy link
Contributor

Hi @pfeux thanks for commit! I will merge this

@icleitoncosta icleitoncosta merged commit f42ffd7 into wppconnect-team:master Jan 31, 2025
5 checks passed
@pfeux pfeux deleted the feature/download-and-decrypt-as-stream branch January 31, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants